package com.example.a2032.net.jstylenet;

public class JstyleConst {
    //注册
    public static final  String TYPE_REGISTER="u";
    //客户端发到服务器的心跳包， 暂定300秒发一次
    public static final  String TYPE_PING="ping";
    public static final  String TYPE_Sos="sos";
    //服务器发送到客户端的心跳包 ， 客户端发ping,服务端回复pong
    public static final  String TYPE_PONG="pong";
    //连接
    public static final  String TYPE_CONNECT="c";
    //非gps数据
    public static final  String TYPE_DATA="d";
    //gps数据
    public static final  String TYPE_GPSDATA="g";
    //实时心率
    public static final  String TYPE_RTHR="rthr";
    //实时血压
    public static final  String TYPE_RTBP="rtbp";
    //实时血氧
    public static final  String TYPE_RTSPO2="rtspo2h";
    //实时ECG
    public static final  String TYPE_RTECG="rtecg";
    //安全区域
    public static final  String TYPE_SN="sn";
    public static final  String TYPE_SNWarn="snwarn";
    public static final  String TYPE_DelSn="delSn";
    //实时位置
    public static final  String TYPE_RTL="rtl";

    public static final  String TYPE_UpdateWl="updateWl";
    public static final  String TYPE_UpdateClock="updateClock";

    public static final  String TYPE_BIND="bind";
    public static final  String TYPE_IM="im";
    public static final  String TYPE_UNBIND="unbind";
    public static final  String TYPE_SETCLOCK="setClock";
    public static final  String TYPE_DELCLOCK="delClock";
    public static final  String TYPE_SetWifi="setWifi";
    public static final  String TYPE_Addc="addc";
    public static final  String TYPE_Delc="delc";
    public static final  String TYPE_Updatec="updatec";
    //实时监听
    public static final  String TYPE_MONI="moni";
    public static final  String TYPE_StepGoal="stepGoal";
    public static final  String TYPE_SetSleep="setSleep";
    public static final  String TYPE_Find="find";
    public static final  String TYPE_Shutdown="shutdown";
    public static final  String TYPE_Psm="psm";
    public static final  String TYPE_Callr="callr";
    public static final  String TYPE_Sms="sms";
    public static final  String TYPE_Smsq ="smsq";
    public static final  String TYPE_Clear="clear";
    public static final  String TYPE_Task="task";

    public static final  String Task_MemberUnbind="memberUnbind";
    public static final  String Task_Bind="bind";
    public static final  String Task_AdminUnbind="adminUnbind";
    public static final  String Task_AdminDisband="adminDisband";


    public static final  String DataTYPE_Device="2032";

    public static final int Measure_Progress=1;
    public static final int Measure_Finish=2;
    public static final int Measure_WearOff=5;
    public static final int Measure_Ban=3;

    public static final  String OPEN="opened";
    public static final  String CLOSE="closed";
    public static final  String Success="success";
    public static final  String Failure="failure";


    public static final String KEY_DEVICE_VERSION = "version";
    public static final String KEY_type = "type";
    public static final String KEY_uid = "uid";


    public static final  String DataTYPE_StaticHr="staticHeartRateData";
    public static final  String DataTYPE_Spo2="spo2Data";
    public static final  String DataTYPE_BP="bpData";
    public static final  String DataTYPE_ECG="ecgData";
    public static final  String DataTYPE_SleepData="detailSleepData";
    public static final  String DataTYPE_TotalData="totalSportData";
}
